<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <title>Inline Script using XMLHttpRequest</title>
</head>
<body>
<p>No way to have XMLHttpRequest script in inline functions.</p>
<input type="button" onclick="alert('click')" value="click me"/>

</body>
</html>